home *** CD-ROM | disk | FTP | other *** search
Text File | 1996-09-12 | 1003 b | 33 lines | [TEXT/MPS ] |
- /*
- File: Clipboard.r
-
- Contains: Clipboard support for simple text application
-
- ** Copyright 1993-1996 Apple Computer. All rights reserved.
- **
- ** You may incorporate this sample code into your applications without
- ** restriction, though the sample code has been provided "AS IS" and the
- ** responsibility for its operation is 100% yours. However, what you are
- ** not permitted to do is to redistribute the source as "DSC Sample Code"
- ** after having made changes. If you're going to re-distribute the source,
- ** we require that you make it clear in the source that the code was
- ** descended from Apple Sample Code, but that you've made changes.
-
- */
-
- #include "Clipboard.h"
-
- resource 'WIND' (kClipboardWindowID, purgeable) {
- {100, 100, 215, 400}, zoomDocProc, invisible, goAway, 0, CLIPBOARDTITLE, centerMainScreen
- };
-
- resource 'STR#' (kClipboardStrings, purgeable) {
- {
- CLIPBOARDNONESTRING;
- CLIPBOARDUNKNOWNSTRING;
- CLIPBOARDPICTSTRING;
- CLIPBOARDTEXTSTRING;
- CLIPBOARDHIDE;
- CLIPBOARDSHOW;
- };
- };